﻿using DFGK_WMS.Model.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DFGK.IService
{
    public interface IEquipmentTypeService
    {
        /// <summary>
        /// 添加
        /// </summary>
        /// <param name="EquipmentType"></param>
        /// <returns></returns>
        bool AddEquipmentType(EquipmentType equipmentType);
        /// <summary>
        /// 查询客户
        /// </summary>
        /// <param name="keyword"></param>
        /// <param name="pageIndex"></param>
        /// <param name="pageSize"></param>
        /// <param name="totalCount"></param>
        /// <returns></returns>
        List<EquipmentType> GetEquipmentType(string? name, int pageIndex, int pageSize, out int totalCount);
        /// <summary>
        /// 修改
        /// </summary>
        /// <param name="Customer"></param>
        /// <returns></returns>
        bool UpdEquipmentType(EquipmentType equipmentType);
        /// <summary>
        /// 删除
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        bool DelEquipmentType(long id);
        /// <summary>
        /// 根据主键获取对象
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        EquipmentType? GetEquipmentTypeById(long id);
    }
}
